﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Mao.Core.Player;

namespace Mao.Core
{
	static public class MaoGame
	{
		static public List<Card> Cards;
		static public List<GameRule> Rules;
		static public List<IPlayer> Players;

		static public void Initialize()
		{
			MaoGame.Cards = new List<Card>();
			MaoGame.Rules = new List<GameRule>();

			DataLoader loader = new DataLoader();
			MaoGame.Cards = loader.LoadCards(@"Data\Cards.xml");
		}

		static public void AddPlayer(IPlayer Player)
		{
			this.Players.Add(Player);
		}

		

		
	}
}
